package cn.imnu.legalaid.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 律师服务领域表
 * @TableName lawyer_specialties
 */
@TableName(value ="lawyer_specialties")
@Data
public class LawyerSpecialties {
    /**
     * 当前表主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 律师id
     */
    @TableField(value = "lawyer_id")
    private Integer lawyer_id;

    /**
     * 服务领域
     */
    @TableField(value = "specialty")
    private String specialty;
}